<?xml version="1.0" encoding="utf-8"?>
<ElementStructure xmlns="http://www.composite.net/ns/management/trees/treemarkup/1.0" xmlns:f="http://www.composite.net/ns/function/1.0">

	<ElementStructure.AutoAttachments>
		<NamedParent Name="System" Position="Bottom" />
	</ElementStructure.AutoAttachments>

	<ElementRoot>
		<Children>
			<DataElements Type="Composite.Data.Types.IUrlConfiguration, Composite" Label="${Composite.Web.UrlConfiguration, Tree.ConfigurationElementLabel}" Icon="housefolder" ToolTip="${Composite.Web.UrlConfiguration, Tree.ConfigurationElementToolTip}">
				<Actions>
					<EditDataAction CustomFormMarkupPath="~/Composite/content/forms/Administrative/UrlConfiguration.xml" Label="${Composite.Web.UrlConfiguration, Tree.ConfigurationElementEditLabel}" ToolTip="${Composite.Web.UrlConfiguration, Tree.ConfigurationElementEditToolTip}" Icon="media-edit-media-folder"/>
        </Actions>

				<Children>
					<Element Id="Hostnames" Label="${Composite.Web.UrlConfiguration, Tree.HostnamesFolderLabel}" ToolTip="${Composite.Web.UrlConfiguration, Tree.HostnamesFolderToolTip}" Icon="folder" OpenedIcon="folder-open">
						<Actions>
							<AddDataAction Type="Composite.Data.Types.IHostnameBinding" CustomFormMarkupPath="~/Composite/content/forms/Administrative/Hostnames.xml" Label="${Composite.Web.UrlConfiguration, Tree.AddHostnameLabel}" ToolTip="${Composite.Web.UrlConfiguration, Tree.AddHostnameToolTip}" Icon="home-add"/>
						</Actions>
						<Children>

							<DataElements Type="Composite.Data.Types.IHostnameBinding, Composite" Icon="home">
								<OrderBy>
									<Field FieldName="Hostname" Direction="ascending"/>
								</OrderBy>
								<Actions>
									<EditDataAction CustomFormMarkupPath="~/Composite/content/forms/Administrative/Hostnames.xml" Icon="home-edit" Label="${Composite.Web.UrlConfiguration, Tree.EditHostnameLabel}" ToolTip="${Composite.Web.UrlConfiguration, Tree.EditHostnameToolTip}" />
									<DeleteDataAction Icon="home-delete"  Label="${Composite.Web.UrlConfiguration, Tree.DeleteHostnameLabel}" ToolTip="${Composite.Web.UrlConfiguration, Tree.DeleteHostnameToolTip}"/>
								</Actions>
							</DataElements>
						</Children>
					</Element>
				</Children>
			</DataElements>
		</Children>
	</ElementRoot>
	
</ElementStructure>
